define("index", [], (require, exports, module) => {
	exports.done = () => {
		$.use("data", () => {
			var data = require("data").done();
			$.render("my-main", {
				props: {
					data: data,
					count: data.length || 0
				}
			}, $.query("#app"), () => {
				$.router("/scroll?len="+(data.length || 0));
			});
		})
	}
});